package com.juku2024.juku.db.dao;


import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.OnConflictStrategy;
import androidx.room.Query;

import com.juku2024.juku.db.entity.LimitEntity;


@Dao
public interface LimitDao {

    @Query("SELECT * FROM limitTable")
    LimitEntity query();

    @Insert(onConflict = OnConflictStrategy.REPLACE)
    void insert(LimitEntity adContent);

    @Query("DELETE FROM limitTable")
    void deleteAll();

}
